<template>
  <div class="tankuang">
    <div class="main">
      <div class="top">
        <div class="img">
          <img src="@/assets/home/logo.png" alt />
        </div>
        <div class="p1">栋栋分润商城 申请</div>
      </div>
      <div class="p2">获取您的昵称、头像、地区及性别</div>
      <div class="info">
        <div class="left">
          <div class="touxiang">
            <img src alt />
          </div>
          <div class="name">
            <span class="span1">vhdsd</span>
            <span class="span2">微信个人信息</span>
          </div>
        </div>
        <div class="img">
          <img src="@/assets/home/gou.png" alt />
        </div>
      </div>
      <div class="p3" @click="changeuser">使用其他头像和昵称</div>
      <div class="logo_btn">
        <div class="qx" @click="goquxiao">取消</div>
        <div class="yx" @click="yunxushq">允许</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    // 换号授权
    changeuser() {},
    // 取消
    goquxiao() {
      this.$emit("quxiao");
    },
    // 授权
    yunxushq() {
      this.$emit("yunxushq");
    },
  },
};
</script>

<style lang="scss" scoped>
.tankuang {
  width: 375px;
  height: 349px;
  background: #ffffff;
  border-radius: 8px 8px 0px 0px;
  .main {
    width: 336px;
    margin: auto;
    .top {
      width: 100%;
      height: 80px;
      display: flex;display: -webkit-flex;
      align-items: center;
      .img {
        width: 30px;
        height: 30px;
        border-radius: 50%;
      }
      .p1 {
        font-size: 15px;
        font-family: PingFang SC;
        font-weight: bold;
        color: #1a1a1a;
        line-height: 15px;
        margin-left: 5px;
      }
    }
    .p2 {
      font-size: 17px;
      font-family: PingFang SC;
      font-weight: bold;
      color: #1a1a1a;
      line-height: 17px;
    }
    .info {
      width: 100%;
      height: 62.5px;
      margin-top: 20px;
      border-top: 1px solid #e4e4e4;
      border-bottom: 1px solid #e4e4e4;
      display: flex;display: -webkit-flex;
      align-items: center;
      justify-content: space-between;
      .left {
        display: flex;display: -webkit-flex;
        align-items: center;
        .touxiang {
          width: 40px;
          height: 40px;
          background: cornflowerblue;
          border-radius: 50%;
          margin-right: 15px;
          img {
            width: 100%;
            height: 100%;
          }
        }
        .name {
          display: flex;display: -webkit-flex;
          flex-direction: column;
          justify-content: center;
          .span1 {
            font-size: 16px;
            font-family: PingFang SC;
            font-weight: bold;
            color: #1a1a1a;
            line-height: 16px;
          }
          .span2 {
            font-size: 13px;
            font-family: PingFang SC;
            font-weight: 500;
            color: #848484;
            line-height: 13px;
            margin-top: 8px;
          }
        }
      }
    }
    .p3 {
      font-size: 15px;
      font-family: PingFang SC;
      font-weight: 500;
      color: #576a94;
      line-height: 15px;
      margin-top: 18px;
    }
    .logo_btn {
      display: flex;display: -webkit-flex;
      justify-content: center;
      align-items: center;
      margin-top: 42px;
      .qx {
        width: 120px;
        height: 40px;
        background: #ededed;
        border-radius: 5px;
        font-size: 16px;
        font-family: PingFang SC;
        font-weight: 500;
        color: #06ad55;
        line-height: 40px;
        text-align: center;
      }
      .yx {
        width: 120px;
        height: 40px;
        background: #07c060;
        border-radius: 5px;
        font-size: 16px;
        font-family: PingFang SC;
        font-weight: bold;
        color: #ffffff;
        line-height: 40px;
        text-align: center;
        margin-left: 30px;
      }
    }
  }
}
</style>